<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html >
<html>
	<head>
		<%@ include file="/common/taglibs.jsp"%>
		<title>登录</title>
	</head>
<body>
	<div class="heading">
		<div class="wrapper">
			<h1>SINLOG</h1>
		</div>
	</div>
	
	<div class="wrapper">
		<div class="row">
			<div class="clear"></div>
			<div class="four">&nbsp;</div>
	    	<div class="four">
	        	<form action="${ctx}/login.action" method="post">
	            	<fieldset>
	            		<legend>登录表单</legend>
	              		<p><label>用户名</label>
	                		<input name="account.userName" type="text" value="szf"/>
	   					</p>
	              		<p><label>密码</label>
	                		<input name="account.password" type="password" value="1234"/>
	   					</p>
	   					<p id="errMsg"></p>
	              		<p>     
			      			<input name="" type="submit" class="button blue" value="提交">
			                <input name="重置" type="reset" class="button" value="重置">
			            </p>
	              	</fieldset>
	            </form>
	      </div>
	      <div class="four">&nbsp;</div>	
	  	</div>
	</div>
	
<script type="text/javascript">
	$(document).ready(function(){
		var errMsg = '${errMsg}';
		if(errMsg != ''){
			$('#errMsg').attr('class','alert error').html('<strong>登录失败！</strong>用户名或密码错误。');
		}
	});
</script>
</body>
</html>